package com.zbb.order.model.po;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 订单详情表
 * </p>
 *
 * @author itcast
 */
@Data
@TableName("zbb_order_details")
public class OrderDetails implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String id;

    /**
     * 发起订单编码
     */
    private String initiateOrderCode;

    /**
     * 用户编码
     */
    private String userCode;

    /**
     * 用户名称
     */
    private String userName;

    /**
     * 标题
     */
    private String title;

    /**
     * 订单内容
     */
    private String content;

    /**
     * 详细地址
     */
    private String address;



    /**
     * 开始时间
     */
    private LocalDateTime startTime;

    /**
     * 结束时间
     */
    private LocalDateTime endTime;

    /**
     * 创建时间
     */
    private LocalDateTime creationTime;

    /**
     * 修改时间
     */
    private LocalDateTime updateTime;

    public OrderDetails(String id, String initiateOrderCode, String userCode, String userName, String title, String content, String address, LocalDateTime startTime, LocalDateTime endTime, LocalDateTime creationTime, LocalDateTime updateTime) {
        this.id = id;
        this.initiateOrderCode = initiateOrderCode;
        this.userCode = userCode;
        this.userName = userName;
        this.title = title;
        this.content = content;
        this.address = address;
        this.startTime = startTime;
        this.endTime = endTime;
        this.creationTime = creationTime;
        this.updateTime = updateTime;
    }
}
